<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ include file="/WEB-INF/jsp/taglib.jsp" %>

<!DOCTYPE html>
<html>
<head>
    <title>在线学习</title>

    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <!-- 引入bootstrap -->
    <link rel="stylesheet" type="text/css" href="${ctx}/css/bootstrap.min.css">
    <!-- 引入JQuery  bootstrap.js-->
    <script src="${ctx}/js/jquery-3.2.1.min.js"></script>
    <script src="${ctx}/js/bootstrap.min.js"></script>

</head>
<body>
<!-- 顶栏 -->
<jsp:include page="top.jsp"/>
<!-- 中间主体 -->
<div class="container" id="content">
    <div class="row">
        <jsp:include page="menu.jsp"/>
        <div class="col-md-10">
            <div class="col-md-3 row">
                <div class="span3">
                    <a href="https://www.bilibili.com/video/BV17f4y1D7pm">
                        <img src="${ctx}/images/s_3.jpg"/>
                    </a>
                </div>
            </div>
            <div class="col-md-3 row">
                <div class="span3">
                    <a href="https://www.bilibili.com/video/BV19k4y1k7o9">
                        <img src="${ctx}/images/s_4.jpg"/>
                    </a>
                </div>
            </div>
            <div class="col-md-3 row">
                <div class="span3">
                    <a href="https://www.bilibili.com/video/BV1z54y1C7Cw">
                        <img src="${ctx}/images/s_5.jpg"/>
                    </a>
                </div>
            </div>
            <div class="col-md-3 row">
                <div class="span3">
                    <a href="https://www.bilibili.com/video/BV12A411E7aX">
                        <img src="${ctx}/images/s_6.jpg"/>
                    </a>
                </div>
            </div>
            <div class="col-md-3 row">
                <div class="span3">
                    <a href="https://www.bilibili.com/video/BV1QV41127Wk">
                        <img src="${ctx}/images/s_7.jpg"/>
                    </a>
                </div>
            </div>
            <div class="col-md-3 row">
                <div class="span3">
                    <a href="https://www.bilibili.com/video/BV1EV411S7zB">
                        <img src="${ctx}/images/s_8.jpg"/>
                    </a>
                </div>
            </div>
            <div class="col-md-3 row">
                <div class="span3">
                    <a href="https://www.bilibili.com/video/BV18z4y1f7JY">
                        <img src="${ctx}/images/s_9.jpg"/>
                    </a>
                </div>
            </div>
            <div class="col-md-3 row">
                <div class="span3">
                    <a href="https://www.bilibili.com/video/BV1vV411U7wU">
                        <img src="${ctx}/images/s_10.jpg"/>
                    </a>
                </div>
            </div>
            <div class="col-md-3 row">
                <div class="span3">
                    <a href="https://www.bilibili.com/video/BV1KA411e7iB">
                        <img src="${ctx}/images/s_11.jpg"/>
                    </a>
                </div>
            </div>
            <div class="col-md-3 row">
                <div class="span3">
                    <a href="https://www.bilibili.com/video/BV1f54y1m7RG">
                        <img src="${ctx}/images/s_12.jpg"/>
                    </a>
                </div>
            </div>
            <div class="col-md-3 row">
                <div class="span3">
                    <a href="https://www.bilibili.com/video/BV1Ah411d7b5">
                        <img src="${ctx}/images/s_13.jpg"/>
                    </a>
                </div>
            </div>
            <div class="col-md-3 row">
                <div class="span3">
                    <a href="https://www.bilibili.com/video/BV1Ah411d7b5">
                        <img src="${ctx}/images/s_14.jpg"/>
                    </a>
                </div>
            </div>
        </div>
    </div>
</div>

<div class="container" id="footer">
    <div class="row">
        <div class="col-md-12"></div>
    </div>
</div>
</body>
<script type="text/javascript">
    <%--设置菜单中--%>
    $("#nav li:nth-child(4)").addClass("active")
    <c:if test="${pagingVO != null}">
    if (${pagingVO.curentPageNo} == ${pagingVO.totalCount}) {
        $(".pagination li:last-child").addClass("disabled")
    }
    ;

    if (${pagingVO.curentPageNo} == ${4}) {
        $(".pagination li:nth-child(4)").addClass("disabled")
    }
    ;
    </c:if>

    $("#sub").click(function () {
        $("#form1").submit();
    });
</script>
</html>